import { createSlice } from "@reduxjs/toolkit"
const ku = createSlice({
    name: "ku",
    initialState: {
        user_id: "",
    },
    reducers: {
        list_user(state, actions) {
            console.log(actions)
            state.user_id = actions.payload
        }
    }
})
export const { list_user } = ku.actions
export default ku.reducer